Freescale-
EthernetAPI
 
General Info
Properties
Methods
Events
User Types
Typical Usage



Embedded Beans
CPU Beans
About Beans
Bean Categories



Bean icon
 
 Bean FreescaleEthernetAPI
 
NE64 ethernet API routines

User types are types created from basic types for use in methods and events as new types.

User types:

  • ethernet_frame : user definition
     struct { tU08 destination [ ETH_ADDRESS_LEN ] ; tU08 source [ ETH_ADDRESS_LEN ] ; tU16 frame_size ; tU16 protocol ; tU16 buf_index ; } ethernet_frame ;
    Ethernet packet header
  • tMACADStr : user definition
     union uMACADUnion { tU16 Word [ 3 ] ; tU08 Byte [ 6 ] ; } tMACADStr ;
    MAC Address bits
  • tMCHASHStr : user definition
     union uMCHASHUnion { tU16 Word [ 4 ] ; tU08 Byte [ 8 ] ; } tMCHASHStr ;
    Multicast Hash Table
  • tFRHEAD : user definition
     struct { tU08 da [ 6 ] ; tU08 sa [ 6 ] ; tU16 ft ; } tFRHEAD ;
    Ethernet Frame Header type
  • pFRHEAD : user definition
     tFRHEAD * pFRHEAD ;
    Pointer to Ethernet Frame Header type
  • tU08 : user definition
     unsigned char tU08 ;
    Unsigned 8bit
  • UINT16 = tU16;
  • tU16 : user definition
     unsigned int tU16 ;
    Unsigned 16bit
  • UINT8 = tU08;



©1997-2004, UNIS, Ltd.